﻿var app = angular.module('app', ['ngRoute']);

app.config(['$routeProvider', function ($routeProvider) {
    $routeProvider.when('/', {
        templateUrl: '/App/Views/Home.html',
        title: 'Home'
    }).when('/Register', {
        templateUrl: '/App/Views/Register.html',
        title: 'Register',
        caseInsensitiveMatch: true
    }).when('/Login', {
        templateUrl: '/App/Views/Login.html',
        title: 'Login',
        caseInsensitiveMatch: true
    }).otherwise({
        redirectTo: '/'
    });
}]);